package com.pro01.apirednote.pojo;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Comment {
    private Long id;
    private Long contentId;
    private Long userId;
    private Long parentId; // 可为 null，表示一级评论
    private String text;
    private Boolean isDeleted;
    private LocalDateTime createdAt;
}